package com.changcheng.project.oper_info.domain;

import com.changcheng.framework.aspectj.lang.annotation.Excel;
import com.changcheng.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 操作员信息对象 a_oper_info
 * 
 * @author dazhi
 * @date 2020-11-02
 */
public class AOperInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 账号名称 */
    @Excel(name = "账号名称")
    private String accountName;

    /** 账号密码 */
    @Excel(name = "账号密码")
    private String password;

    /** Token */
    @Excel(name = "Token")
    private String accessToken;

    /** ETC 账户号 */
    @Excel(name = "ETC 账户号")
    private String accountId;

    /** 账号类型 */
    @Excel(name = "账号类型")
    private String sysSource;

    /** 企业Id */
    @Excel(name = "企业Id")
    private String enterpriseId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 部门Id */
    @Excel(name = "部门Id")
    private String deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 经销商 Code */
    @Excel(name = "经销商 Code")
    private String dealerCode;

    /** 经销商名称 */
    @Excel(name = "经销商名称")
    private String dealerName;

    /** 角色 Id */
    @Excel(name = "角色 Id")
    private String roleCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setAccessToken(String accessToken)
    {
        this.accessToken = accessToken;
    }

    public String getAccessToken()
    {
        return accessToken;
    }
    public void setAccountId(String accountId)
    {
        this.accountId = accountId;
    }

    public String getAccountId()
    {
        return accountId;
    }
    public void setSysSource(String sysSource)
    {
        this.sysSource = sysSource;
    }

    public String getSysSource()
    {
        return sysSource;
    }
    public void setEnterpriseId(String enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId()
    {
        return enterpriseId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setDealerCode(String dealerCode)
    {
        this.dealerCode = dealerCode;
    }

    public String getDealerCode()
    {
        return dealerCode;
    }
    public void setDealerName(String dealerName)
    {
        this.dealerName = dealerName;
    }

    public String getDealerName()
    {
        return dealerName;
    }
    public void setRoleCode(String roleCode)
    {
        this.roleCode = roleCode;
    }

    public String getRoleCode()
    {
        return roleCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accountName", getAccountName())
            .append("password", getPassword())
            .append("accessToken", getAccessToken())
            .append("accountId", getAccountId())
            .append("sysSource", getSysSource())
            .append("enterpriseId", getEnterpriseId())
            .append("name", getName())
            .append("gender", getGender())
            .append("email", getEmail())
            .append("phone", getPhone())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("dealerCode", getDealerCode())
            .append("dealerName", getDealerName())
            .append("roleCode", getRoleCode())
            .toString();
    }
}
